CSRCS += MainPage_gui.c

CPPSRCS += MainPage.cpp

DEPPATH += --dep-path application
VPATH += :application

CFLAGS += -Iapplication

FONT_SRC = $(shell find -L $(LVGL_DIR)/application/fonts -name \*.c)
IMAGE_SRC = $(shell find -L $(LVGL_DIR)/application/images -name \*.c)

CSRCS += $(notdir $(FONT_SRC))
CSRCS += $(notdir $(IMAGE_SRC))

VPATH += :$(sort $(dir $(FONT_SRC)))
VPATH += :$(sort $(dir $(IMAGE_SRC)))

CFLAGS += -I$(sort $(dir $(FONT_SRC)))
CFLAGS += -I$(sort $(dir $(IMAGE_SRC)))
CFLAGS += -I/home/jumping/disk2/linux/allwinner/tinaLinux/t113_lib/libcurl/include
CPPFLAGS += -I/home/jumping/disk2/linux/allwinner/tinaLinux/t113_lib/libcurl/include

LDFLAGS += -L/home/jumping/disk2/linux/allwinner/tinaLinux/t113_lib/libnghttp2/lib
LDFLAGS += -L/home/jumping/disk2/linux/allwinner/tinaLinux/t113_lib/libcurl/lib
LDFLAGS += -L/home/jumping/disk2/linux/allwinner/tinaLinux/t113_lib/libssl/lib
LDFLAGS += -L/home/jumping/disk2/linux/allwinner/tinaLinux/t113_lib/libcrypto/lib
LDFLAGS += -L/home/jumping/disk2/linux/allwinner/tinaLinux/t113_lib/zlib/lib
LDFLAGS += -lnghttp2 -lcurl -lssl -lcrypto -lz
